package com.paw.ruoyi.admin.enums;

import com.paw.ruoyi.admin.common.enums.ICommonEnum;
import lombok.Getter;

/**
 * @author Rubble
 * @date 2022/2/25
 **/
@Getter
public enum AdminCodeEnum implements ICommonEnum {

  /**
   * admin 编码 10
   * 响应code
   */
  WX_ERROR(210500,"微信服务错误"),
  WX_NOT_EXIST(210404,"不存在"),
  WX_HAS_EXIST(210201,"已存在"),

  WX_PHONE_CODE_VALID(210202,"验证码错误"),

  SMS_FAIL(210301,"发送短信失败"),


  ;

  int code;

  String desc;

  AdminCodeEnum (int code, String desc) {
    this.code = code;
    this.desc = desc;
  }
}
